package com.study.genericity_demo2;

public class Test {
    public static void main(String[] args) {
        //目标：掌握泛型类的定义
        //需求：模板ArrayList集合，自定义一个MyArrayList的泛型类
           MyArralList<String> myArralList = new MyArralList<>();
           myArralList.add("a");
           myArralList.add("b");
           myArralList.add("c");
           myArralList.add("d");
        System.out.println(myArralList);
    }
}
